package TesteJunit;

import static org.junit.Assert.*;
import junit.framework.Assert;

import org.junit.Test;

import br.ifpi.corporativa.Romanos;

public class testeValidade {

	@Test
	public void test() {
		Romanos fun = new Romanos();
	  
	Assert.assertEquals(1, fun.um("I"));
	Assert.assertEquals(5, fun.cinco("V"));
	Assert.assertEquals(10, fun.dez("X"));
	Assert.assertEquals(50, fun.cinquenta("L"));
	Assert.assertEquals(100, fun.cem("C"));
	Assert.assertEquals(500, fun.quinhentos("D"));
	Assert.assertEquals(1000, fun.mil("M"));
	  
	}

}
